package com.reptile.model.title.model;

import com.example.db.annotations.ID;
import com.example.db.annotations.Table;
import com.example.db.annotations.TableField;

import java.util.Date;

/**
 * @Classname TitleModel
 * @Description TODO
 * @Date 2022/8/7 0:59
 * @Created by XiongXiong
 * @Author: X.I.O
 */
@Table("sys_title")
public class TitleModel {

    @ID
    private Integer id;

    @TableField("title")
    private String title;

    @TableField("tag")
    private String tag;

    @TableField("channelId")
    private Integer channelId;

    @TableField("contentid")
    private Integer contentid;

    @TableField("uid")
    private Integer uid;

    @TableField("ismarker")
    private boolean ismarker;

    @TableField("createdate")
    private Date createdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public Integer getChannelId() {
        return channelId;
    }

    public void setChannelId(Integer channelId) {
        this.channelId = channelId;
    }

    public Integer getContentid() {
        return contentid;
    }

    public void setContentid(Integer contentid) {
        this.contentid = contentid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public boolean isIsmarker() {
        return ismarker;
    }

    public void setIsmarker(boolean ismarker) {
        this.ismarker = ismarker;
    }
}
